package org.nepu.scr.indexrate.vo.drillingrate.keydevice.wellcontrolsystem;

import lombok.Data;
import org.nepu.scr.indexrate.converter.drillingrate.keydevice.improvesystem.InputTerminalConverter;
import org.nepu.scr.indexrate.vo.drillingrate.keydevice.improvesystem.InputTerminal;

import javax.persistence.Column;
import javax.persistence.Convert;

@Data
public class Bop {

    //环形防喷器组型号
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "annular_bop_model")
    InputTerminal annularBopModel;

    //双闸板防喷器组型号
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "double_bop_model")
    InputTerminal doubleBopModel;

    //单闸板防喷器组型号
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "single_bop_model")
    InputTerminal singleBopModel;

    //环形防喷公称通径（"）
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "annular_bop_diameter")
    InputTerminal annularBopDiameter;

    //环形防喷额定压力(psi)
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "annular_bop_pressure")
    InputTerminal annularBopPressure;

    //双闸板防喷器公称通径（"）
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "double_bop_diameter")
    InputTerminal doubleBopDiameter;

    //双闸板防喷器额定压力(psi)
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "double_bop_pressure")
    InputTerminal doubleBopPressure;

    //单闸板防喷器公称通径（"）
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "single_bop_diameter")
    InputTerminal singleBopDiameter;

    //单闸板防喷器额定压力(psi)
    @Convert(converter = InputTerminalConverter.class)
    @Column(name = "single_bop_pressure")
    InputTerminal singleBopPressure;
}
